Optimal. Leaf size=133 \[ \frac {3 \left (b^2-4 a c\right ) \left (2 a+b x^2\right ) \sqrt {a+b x^2+c x^4}}{128 a^2 x^4}-\frac {\left (2 a+b x^2\right ) \left (a+b x^2+c x^4\right )^{3/2}}{16 a x^8}-\frac {3 \left (b^2-4 a c\right )^2 \tanh ^{-1}\left (\frac {2 a+b x^2}{2 \sqrt {a} \sqrt {a+b x^2+c x^4}}\right )}{256 a^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.08, antiderivative size = 133, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 4, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {1128, 734, 738,
212} \begin {gather*} -\frac {3 \left (b^2-4 a c\right )^2 \tanh ^{-1}\left (\frac {2 a+b x^2}{2 \sqrt {a} \sqrt {a+b x^2+c x^4}}\right )}{256 a^{5/2}}+\frac {3 \left (b^2-4 a c\right ) \left (2 a+b x^2\right ) \sqrt {a+b x^2+c x^4}}{128 a^2 x^4}-\frac {\left (2 a+b x^2\right ) \left (a+b x^2+c x^4\right )^{3/2}}{16 a x^8} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 734
Rule 738
Rule 1128
Rubi steps
\begin {align*} \int \frac {\left (a+b x^2+c x^4\right )^{3/2}}{x^9} \, dx &=\frac {1}{2} \text {Subst}\left (\int \frac {\left (a+b x+c x^2\right )^{3/2}}{x^5} \, dx,x,x^2\right )\\ &=-\frac {\left (2 a+b x^2\right ) \left (a+b x^2+c x^4\right )^{3/2}}{16 a x^8}-\frac {\left (3 \left (b^2-4 a c\right )\right ) \text {Subst}\left (\int \frac {\sqrt {a+b x+c x^2}}{x^3} \, dx,x,x^2\right )}{32 a}\\ &=\frac {3 \left (b^2-4 a c\right ) \left (2 a+b x^2\right ) \sqrt {a+b x^2+c x^4}}{128 a^2 x^4}-\frac {\left (2 a+b x^2\right ) \left (a+b x^2+c x^4\right )^{3/2}}{16 a x^8}+\frac {\left (3 \left (b^2-4 a c\right )^2\right ) \text {Subst}\left (\int \frac {1}{x \sqrt {a+b x+c x^2}} \, dx,x,x^2\right )}{256 a^2}\\ &=\frac {3 \left (b^2-4 a c\right ) \left (2 a+b x^2\right ) \sqrt {a+b x^2+c x^4}}{128 a^2 x^4}-\frac {\left (2 a+b x^2\right ) \left (a+b x^2+c x^4\right )^{3/2}}{16 a x^8}-\frac {\left (3 \left (b^2-4 a c\right )^2\right ) \text {Subst}\left (\int \frac {1}{4 a-x^2} \, dx,x,\frac {2 a+b x^2}{\sqrt {a+b x^2+c x^4}}\right )}{128 a^2}\\ &=\frac {3 \left (b^2-4 a c\right ) \left (2 a+b x^2\right ) \sqrt {a+b x^2+c x^4}}{128 a^2 x^4}-\frac {\left (2 a+b x^2\right ) \left (a+b x^2+c x^4\right )^{3/2}}{16 a x^8}-\frac {3 \left (b^2-4 a c\right )^2 \tanh ^{-1}\left (\frac {2 a+b x^2}{2 \sqrt {a} \sqrt {a+b x^2+c x^4}}\right )}{256 a^{5/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.68, size = 120, normalized size = 0.90 \begin {gather*} \frac {-\frac {\sqrt {a} \left (2 a+b x^2\right ) \sqrt {a+b x^2+c x^4} \left (8 a^2+8 a b x^2-3 b^2 x^4+20 a c x^4\right )}{x^8}+3 \left (b^2-4 a c\right )^2 \tanh ^{-1}\left (\frac {\sqrt {c} x^2-\sqrt {a+b x^2+c x^4}}{\sqrt {a}}\right )}{128 a^{5/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(259\) vs.
\(2(115)=230\).
time = 0.06, size = 260, normalized size = 1.95
method | result | size |
risch | \(-\frac {\sqrt {c \,x^{4}+b \,x^{2}+a}\, \left (20 a b c \,x^{6}-3 b^{3} x^{6}+40 a^{2} c \,x^{4}+2 a \,b^{2} x^{4}+24 a^{2} b \,x^{2}+16 a^{3}\right )}{128 x^{8} a^{2}}-\frac {3 c^{2} \ln \left (\frac {2 a +b \,x^{2}+2 \sqrt {a}\, \sqrt {c \,x^{4}+b \,x^{2}+a}}{x^{2}}\right )}{16 \sqrt {a}}+\frac {3 c \,b^{2} \ln \left (\frac {2 a +b \,x^{2}+2 \sqrt {a}\, \sqrt {c \,x^{4}+b \,x^{2}+a}}{x^{2}}\right )}{32 a^{\frac {3}{2}}}-\frac {3 b^{4} \ln \left (\frac {2 a +b \,x^{2}+2 \sqrt {a}\, \sqrt {c \,x^{4}+b \,x^{2}+a}}{x^{2}}\right )}{256 a^{\frac {5}{2}}}\) | \(197\) |
default | \(-\frac {b^{2} \sqrt {c \,x^{4}+b \,x^{2}+a}}{64 a \,x^{4}}+\frac {3 b^{3} \sqrt {c \,x^{4}+b \,x^{2}+a}}{128 a^{2} x^{2}}-\frac {3 c^{2} \ln \left (\frac {2 a +b \,x^{2}+2 \sqrt {a}\, \sqrt {c \,x^{4}+b \,x^{2}+a}}{x^{2}}\right )}{16 \sqrt {a}}-\frac {5 c \sqrt {c \,x^{4}+b \,x^{2}+a}}{16 x^{4}}-\frac {3 b^{4} \ln \left (\frac {2 a +b \,x^{2}+2 \sqrt {a}\, \sqrt {c \,x^{4}+b \,x^{2}+a}}{x^{2}}\right )}{256 a^{\frac {5}{2}}}-\frac {5 c b \sqrt {c \,x^{4}+b \,x^{2}+a}}{32 a \,x^{2}}+\frac {3 c \,b^{2} \ln \left (\frac {2 a +b \,x^{2}+2 \sqrt {a}\, \sqrt {c \,x^{4}+b \,x^{2}+a}}{x^{2}}\right )}{32 a^{\frac {3}{2}}}-\frac {a \sqrt {c \,x^{4}+b \,x^{2}+a}}{8 x^{8}}-\frac {3 b \sqrt {c \,x^{4}+b \,x^{2}+a}}{16 x^{6}}\) | \(260\) |
elliptic | \(-\frac {b^{2} \sqrt {c \,x^{4}+b \,x^{2}+a}}{64 a \,x^{4}}+\frac {3 b^{3} \sqrt {c \,x^{4}+b \,x^{2}+a}}{128 a^{2} x^{2}}-\frac {3 c^{2} \ln \left (\frac {2 a +b \,x^{2}+2 \sqrt {a}\, \sqrt {c \,x^{4}+b \,x^{2}+a}}{x^{2}}\right )}{16 \sqrt {a}}-\frac {5 c \sqrt {c \,x^{4}+b \,x^{2}+a}}{16 x^{4}}-\frac {3 b^{4} \ln \left (\frac {2 a +b \,x^{2}+2 \sqrt {a}\, \sqrt {c \,x^{4}+b \,x^{2}+a}}{x^{2}}\right )}{256 a^{\frac {5}{2}}}-\frac {5 c b \sqrt {c \,x^{4}+b \,x^{2}+a}}{32 a \,x^{2}}+\frac {3 c \,b^{2} \ln \left (\frac {2 a +b \,x^{2}+2 \sqrt {a}\, \sqrt {c \,x^{4}+b \,x^{2}+a}}{x^{2}}\right )}{32 a^{\frac {3}{2}}}-\frac {a \sqrt {c \,x^{4}+b \,x^{2}+a}}{8 x^{8}}-\frac {3 b \sqrt {c \,x^{4}+b \,x^{2}+a}}{16 x^{6}}\) | \(260\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.42, size = 319, normalized size = 2.40 \begin {gather*} \left [\frac {3 \, {\left (b^{4} - 8 \, a b^{2} c + 16 \, a^{2} c^{2}\right )} \sqrt {a} x^{8} \log \left (-\frac {{\left (b^{2} + 4 \, a c\right )} x^{4} + 8 \, a b x^{2} - 4 \, \sqrt {c x^{4} + b x^{2} + a} {\left (b x^{2} + 2 \, a\right )} \sqrt {a} + 8 \, a^{2}}{x^{4}}\right ) + 4 \, {\left ({\left (3 \, a b^{3} - 20 \, a^{2} b c\right )} x^{6} - 24 \, a^{3} b x^{2} - 2 \, {\left (a^{2} b^{2} + 20 \, a^{3} c\right )} x^{4} - 16 \, a^{4}\right )} \sqrt {c x^{4} + b x^{2} + a}}{512 \, a^{3} x^{8}}, \frac {3 \, {\left (b^{4} - 8 \, a b^{2} c + 16 \, a^{2} c^{2}\right )} \sqrt {-a} x^{8} \arctan \left (\frac {\sqrt {c x^{4} + b x^{2} + a} {\left (b x^{2} + 2 \, a\right )} \sqrt {-a}}{2 \, {\left (a c x^{4} + a b x^{2} + a^{2}\right )}}\right ) + 2 \, {\left ({\left (3 \, a b^{3} - 20 \, a^{2} b c\right )} x^{6} - 24 \, a^{3} b x^{2} - 2 \, {\left (a^{2} b^{2} + 20 \, a^{3} c\right )} x^{4} - 16 \, a^{4}\right )} \sqrt {c x^{4} + b x^{2} + a}}{256 \, a^{3} x^{8}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (a + b x^{2} + c x^{4}\right )^{\frac {3}{2}}}{x^{9}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 606 vs.
\(2 (115) = 230\).
time = 4.25, size = 606, normalized size = 4.56 \begin {gather*} \frac {3 \, {\left (b^{4} - 8 \, a b^{2} c + 16 \, a^{2} c^{2}\right )} \arctan \left (-\frac {\sqrt {c} x^{2} - \sqrt {c x^{4} + b x^{2} + a}}{\sqrt {-a}}\right )}{128 \, \sqrt {-a} a^{2}} - \frac {3 \, {\left (\sqrt {c} x^{2} - \sqrt {c x^{4} + b x^{2} + a}\right )}^{7} b^{4} - 24 \, {\left (\sqrt {c} x^{2} - \sqrt {c x^{4} + b x^{2} + a}\right )}^{7} a b^{2} c - 80 \, {\left (\sqrt {c} x^{2} - \sqrt {c x^{4} + b x^{2} + a}\right )}^{7} a^{2} c^{2} - 256 \, {\left (\sqrt {c} x^{2} - \sqrt {c x^{4} + b x^{2} + a}\right )}^{6} a^{2} b c^{\frac {3}{2}} - 11 \, {\left (\sqrt {c} x^{2} - \sqrt {c x^{4} + b x^{2} + a}\right )}^{5} a b^{4} - 168 \, {\left (\sqrt {c} x^{2} - \sqrt {c x^{4} + b x^{2} + a}\right )}^{5} a^{2} b^{2} c - 48 \, {\left (\sqrt {c} x^{2} - \sqrt {c x^{4} + b x^{2} + a}\right )}^{5} a^{3} c^{2} - 128 \, {\left (\sqrt {c} x^{2} - \sqrt {c x^{4} + b x^{2} + a}\right )}^{4} a^{2} b^{3} \sqrt {c} - 11 \, {\left (\sqrt {c} x^{2} - \sqrt {c x^{4} + b x^{2} + a}\right )}^{3} a^{2} b^{4} - 168 \, {\left (\sqrt {c} x^{2} - \sqrt {c x^{4} + b x^{2} + a}\right )}^{3} a^{3} b^{2} c - 48 \, {\left (\sqrt {c} x^{2} - \sqrt {c x^{4} + b x^{2} + a}\right )}^{3} a^{4} c^{2} - 256 \, {\left (\sqrt {c} x^{2} - \sqrt {c x^{4} + b x^{2} + a}\right )}^{2} a^{4} b c^{\frac {3}{2}} + 3 \, {\left (\sqrt {c} x^{2} - \sqrt {c x^{4} + b x^{2} + a}\right )} a^{3} b^{4} - 24 \, {\left (\sqrt {c} x^{2} - \sqrt {c x^{4} + b x^{2} + a}\right )} a^{4} b^{2} c - 80 \, {\left (\sqrt {c} x^{2} - \sqrt {c x^{4} + b x^{2} + a}\right )} a^{5} c^{2}}{128 \, {\left ({\left (\sqrt {c} x^{2} - \sqrt {c x^{4} + b x^{2} + a}\right )}^{2} - a\right )}^{4} a^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (c\,x^4+b\,x^2+a\right )}^{3/2}}{x^9} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________